const STORAGE_KEY = 'studentName-vuejs'
export default {
    fetch: function () {
        let data = JSON.parse(localStorage.getItem(STORAGE_KEY))
        return data || []
    },
    save:function(data){
        localStorage.setItem(STORAGE_KEY,JSON.stringify(data))
    }
}
